<template>
    <div>
        <h2>首页</h2>
        <div class="content">
            <img src="3.png" alt="七月">
            <h3>hello,七月</h3>
            <button @click="handleFilms">开启小程序之旅</button>
        </div>
    </div>
</template>
<script>
export default {
    methods: {
        handleFilms(){
            this.$router.push("/films")
        }
    },
}
</script>
<style scoped>
h2{
    line-height: 50px;
    text-align: center;
    color: #fff;
}
.content{
    margin-top: 30%;
}
img{
    width: 220px;
    height: 220px;
    /* margin-top:220px ; */
    margin-left: 35%;
}
h3{
    width: 220px;
    padding: 50px 0;
    margin-left: 35%;
    text-align: center;
}
button{
    width: 550px;
    line-height: 110px;
    font-size: 45px;
    margin-left: 14%;
}
</style>